Spring JPA menghitung semua baris

There is method count() in CrudRepository.
Daschi