Allowed to get count query from paginator.