/** * Returns the number of related ConceptPropertysRelatedByRelatedConceptId. * * @param Criteria $criteria * @param boolean $distinct * @param Connection $con * @throws PropelException */ public function countConceptPropertysRelatedByRelatedConceptId($criteria = null, $distinct = false, $con = null) { // include the Peer class include_once 'lib/model/om/BaseConceptPropertyPeer.php'; if ($criteria === null) { $criteria = new Criteria(); } elseif ($criteria instanceof Criteria) { $criteria = clone $criteria; } $criteria->add(ConceptPropertyPeer::RELATED_CONCEPT_ID, $this->getId()); return ConceptPropertyPeer::doCount($criteria, $distinct, $con); }