JDBC Sniffer counts the number of executed queries