Pass V8Function argument as V8Object
Correctly report number of regex matches