updated method count