Concept Flow - Count Words with Given Prefix
Start at root node
For each char in prefix
Check if char exists in children
Move to child
Repeat for next char
Count words under current node
Return count
Start from the root of the trie, follow each character of the prefix. If all characters exist, count words below the last node.
