Before you continue, pause and think:
Is this a one-root problem or all-roots problem? (Hint: Read 'for each employee')
Do you need states or collect counts? (Hint: Are you choosing between options?)
what is the simplest approach that works? (Hint: Can you solve it with one DFS?) Try to write pseudocode for the DFS. What does dfs(u, parent) return? What do you store? How do you combine child results? Think for at least seconds. Then move to the next unit.