public function countActiveMailboxs() { $criteria = $this->getActiveMailboxsCriteria(); return GcMailboxPeer::doCount($criteria); }