Tasks in paths are counted similar to how they are counted for Zaps with a filter step.
When a path's rules are met, this counts as one task. Then, every step in the path that runs successfully counts as another task.
For a path group, if none of the path's rules are met, then no tasks are used.