add method count in all class