support count commands

A start approach to support count in commands.

- Make normal mode number inputs, do not clear them in immediately
- Get any number existed whenever a command is found
- Pass the number to command

_Reviews and suggestions required._
I added support to close tabs with count. However, the old code has this check on pinned tab which I am not sure why. The `removeTab` function can close pinned tab correctly. @lydell