count active hadoop nodes