Neos.Media/Classes/Domain/Repository/ThumbnailRepository.php
public function countUngenerated()
    {
        $query = $this->createQuery();
        $query->matching($query->logicalAnd($query->equals('resource', null), $query->equals('staticResource', null)));
        return $query->count();
    }
public function countUngenerated()
    {
        $query = $this->createQuery();
        $query->matching($query->logicalAnd($query->equals('resource', null), $query->equals('staticResource', null)));
        return $query->count();
    }
public function countUngenerated ( ) { $ query = $ this -> createQuery ( ) ; $ query -> matching ( $ query -> logicalAnd ( $ query -> equals ( 'resource' , null ) , $ query -> equals ( 'staticResource' , null ) ) ) ; return $ query -> count ( ) ; }
Count ungenerated objects

@return integer
Count ungenerated objects