$cnt += m{pattern}g;