added method count