i am working with database data via repository.
I need to get quantity of found rows.
$followers = $em->getRepository('AppBundle:Follower')->findBy(array(
'user' => $followedUser,
'follower' => $user
));
I have tried to search functions, which return repository find count, but didnt found any.
How should i get the count?
Thank you.