Data aggregation summarizes multiple rows or matched records, for example by counting them or calculating average earnings. section 5.2.2 section 5.4.3
A publisher sales summary
For a game-sales analysis, calculate average earnings per game for each publisher. A count aggregate can also count rows that meet a condition. section 5.2.2
#1
MATCH (p:Person {name: 'Tom Cruise'})-[:ACTED_IN]->(m:Movie)
RETURN count(*) #2
See a Cypher query that counts the movies matched for Tom Cruise. section 5.4.3


















