Do not abbreviate 'like'
:param { tag: 'Abbas_I_of_Persia' }
*/
MATCH (tag:Tag {name: $tag})<-[:HAS_TAG]-(message:Message)-[:HAS_CREATOR]->(person:Person)
-OPTIONAL MATCH (:Person)-[l:LIKES]->(message)
+OPTIONAL MATCH (:Person)-[like:LIKES]->(message)
OPTIONAL MATCH (message)<-[:REPLY_OF]-(comment:Comment)
-WITH person, count(distinct l) AS likeCount, count(distinct comment) AS replyCount, count(distinct message) AS messageCount
+WITH person, count(distinct like) AS likeCount, count(distinct comment) AS replyCount, count(distinct message) AS messageCount
RETURN
person.id,
messageCount,
