Count non-overlapping matches. Pattern is a JavaScript RegExp; include flag g.

Matches: 2