Sadly I can't anotate the line 76 (don't know why)…

``count($em->getRepository('SensioLabsJobBoardBundle:Job')->findByLocation($old));`` is quiet "expensive" for a simple count : there is an hydratation of potentially a lot of object. Note that you could do a method in the Job repository like : 

```php
   return $this->_em
        ->createQuery('SELECT COUNT(j.id) FROM SensioLabsJobBoardBundle:Job j')
        // your requirements
        ->getSingleScalarResult();
```