private static function countLandscapePoints(Page $page)
    {
        $entries = $page->getEntries();
        if (is_null($entries)) {
            return 0;
        }

        $totalLandscapePointsInPage = 0;
        foreach ($entries as $entry) {
            $totalLandscapePointsInPage += count($entry->getLandscapePoints());
        }
        return $totalLandscapePointsInPage;
    }