ignore order, limit and offset for count queries
cleanup