import pywikibot
from pywikibot import pagegenerators
site = pywikibot.Site('de', 'wikipedia')
cat = pywikibot.Category(site,'Kategorie:Ort in Israel')
gen = pagegenerators.CategorizedPageGenerator(cat)
infoBox = 0
noInfoBox = 0
for page in gen:
  #Do something with the page object, for example:
  hasInfobox = False
  for template in page.templates():
    if template.title() == 'Vorlage:Infobox Ort in Israel':
      hasInfobox = True
  if hasInfobox == False:
    noInfoBox += 1
    print('{} has no Infobox'.format(page.title()))
  else:
    infoBox += 1

print('Articles with InfoBoxes: {}\nArticles without InfoBoxes: {}'.format(infoBox, noInfoBox))