Fix another count query.