src/DB/PDO/Table.php
public function countByIndex( $key, $value ){
		$conditions	= array( $key => $value );
		return $this->table->count( $conditions );
	}
public function countByIndex( $key, $value ){
		$conditions	= array( $key => $value );
		return $this->table->count( $conditions );
	}
public function countByIndex ( $ key , $ value ) { $ conditions = array ( $ key => $ value ) ; return $ this -> table -> count ( $ conditions ) ; }
Returns number of entries within an index.
@access		public
@param		string			$key			Index Key
@param		string			$value			Value of Index
@return		integer			Number of entries within this index
Returns number of entries within an index .