apoc.coll.occurrences

Function APOC Core

apoc.coll.occurrences(coll, item) - returns the count of the given item in the collection

Signature

apoc.coll.occurrences(coll :: LIST? OF ANY?, item :: ANY?) :: (INTEGER?)

Input parameters

Name Type Default

coll

LIST? OF ANY?

null

item

ANY?

null