Refactor with Data.Map, two steps
Simplify
Add CommandCount and show
whitespace