test
add EntityRepository::count() method
documentation