If a counter_cache exists, use it for #empty?

When a counter_cache is available, also use it when checking if the collection is empty or not, removing a (redundant) query for both `#empty?` and `#any?`.