src/Google/AdsApi/AdWords/Query/v201809/ServiceQuery.php
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;
    }
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;
    }
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 ; }
Counts the number of landscape points in a `AdGroupBidLandscapePage` or
`AdGroupBidLandscapePage` page.

@param Page $page the previously fetched page which must be an
instance of either `AdGroupBidLandscapePage` or
`AdGroupBidLandscapePage`
@return int the count of landscape points in a given page
Counts the number of landscape points in a AdGroupBidLandscapePage or AdGroupBidLandscapePage page .