One walk, one group.
transcript
A network has six hubs. How many separate groups are there? One walk per group answers it.
Four links join the hubs. Hubs zero, one and two touch. Hubs three, four and five touch.
A walk follows links only. It never leaves its group. It reaches the whole group.
Try hub zero. It starts group one. The walk marks hubs zero to two. Hub three is not marked yet. It starts group two.
A hub with no links counts too. It is a group of its own. Six hubs with no links give six groups.
A marked hub is already counted. An unmarked hub starts a new walk. Each walk adds one to the count.
Each hub is visited once, in one walk. So counting costs the same as one walk. No hub is ever visited twice. Six hubs or six thousand: same rule.
The number of walks is the number of groups. Full breakdown in the lecture.