Strips -v, -vv, -vvv, --verbose flags from argv (in place) and returns the verbosity count. Stops at the first non-flag token so that subcommand args are preserved.
-v
-vv
-vvv
--verbose