Data disappears when grouping a count by a term

How to troubleshoot metric queries: