added matcher for count loops