Fix an other issue with multiline queries
Fix count in Query type report.