Adding query serialization tests to the count where queries.