src/snac/server/neo4j/Neo4JUtil.php
/**
     * Count Holdings
     *
     * Given a constellation id, returns count of its holdings.
     *
     * @param $icid The constellation id of the holding reposity
     * @return int $count Count of resources
     */
Count Holdings
Given a constellation id, returns count of its holdings.

@param $icid The constellation id of the holding reposity
@return int $count Count of resources
Count Holdings Given a constellation id returns count of its holdings . @param $icid The constellation id of the holding reposity @return int $count Count of resources
public function countHoldings($icid) {
        $result = $this->connector->run("MATCH (c:Identity {id: '{$icid}'}) RETURN size((c)<-[:HIRELATION]-(:Resource)) as count");
        $count = $result->getRecord()->get("count");
        return $count;
    }
public function countHoldings ( $ icid ) { $ result = $ this -> connector -> run ( " MATCH (c:Identity {id: ' { $ icid } '}) RETURN size((c)<-[:HIRELATION]-(:Resource)) as count " ) ; $ count = $ result -> getRecord ( ) -> get ( " count " ) ; return $ count ; }
Count Holdings
 Given a constellation id, returns count of its holdings.
Count Holdings Given a constellation id returns count of its holdings .