stats count(*) by queryType, bin(1h)