Kibana count and elasticsearch count are different

Hello! When I count docs in elasticsearch with the _count API I get 844, while in kibana I get 623.

Why does this happen?

Thank you, elisavet

Kibana applies filters to your results. Look at the Inspector tab to see what the request is.

Thank you! It really helped me understand what's going wrong.