ModelFactory::CountWhere method