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