Query variable for Elasticsearch - count null values

Hi, team,

Grafana version 6.7.4, Elasticsearch version 7.1.0.
I’m trying to query a variable couting only the “null” values.

The log error is: Failed to parse query [{“status”: null}]

Is it somehow possible to do it?

Thanks in advance !

how does your query look like