Adding a Helpers module containing ActiveRecord-version-agnostic 'count' method.