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._
Replace the other if-else branches with:

```coffee
targetIndex = Math.max(0, targetIndex)
targetIndex = Math.min(targetIndex, tabs.length - 1)
```