Use query count helper.