Add method count();