[vim] Support for \{n\}, \{n,m\} and \{n} syntax for counted matches in regex.

Issue #2283