master add counter arg to expect method