Preload association or named_scope counts for ActiveRecord