Google-sheets – Count blank cells in query formula

formulasgoogle sheetsgoogle-sheets-query

I am ranking answer for a form. and I came up with this formula

=ArrayFormula(QUERY({'LEADs oGV'!U:U,LEN('LEADs oGV'!U:U)},
 "select Col1, count(Col2) where Col2 > 0 group by Col1 order by count(Col2) desc limit 3",
 0))

The problem is that it does not count the number of blank answers in the given column! How can I do that without filling every single blank cell?

Best Answer

Maybe try:

=ArrayFormula(QUERY({'LEADs oGV'!U:U,LEN('LEADs oGV'!U:U)},
 "select Col1, count(Col2) group by Col1 order by count(Col2) desc limit 4",0))