Cypher 1.6
i want to count distinct nodes but ran in to an issue if the match clause includes optional relationships, for example:
start a = node(0)
match a-[:friend]->b-[?:like]->d
return count(distinct b), count(distinct d)
this was just some fat fingers on copy/paste not intending to harm puppies