able to use :count on has_many associations