protected function getMarkerCounter(ProjectDescriptor $project)
    {
        $markerCounter = 0;

        /* @var $fileDescriptor FileDescriptor */
        foreach ($project->getFiles()->getAll() as $fileDescriptor) {
            $markerCounter += $fileDescriptor->getMarkers()->count();
        }

        return $markerCounter;
    }