Join the free 24-hour, online, global developer conference and explore modern applications, multi-agent workflows, and context-rich systems.
You can just use aggregation, with count or sum.
And to visualize it as graph not as tables you can use virtual nodes with apoc, I wrote it up here.