src code

class method ActiveRecord.Model.count

ActiveRecord.Model.count([options]) → Number

options can contain all params that find can