Create the triggers that maintain node counts
Add the learn subcommand