Taking huge time to count node which has multiple edge with same specific node?

I think there is a misunderstanding, you have to use jumps when you want a path with depth. It's not your case.

You should have a look at this topic to count relations:

Regards,
Cobra