use .items instead of .children.

Prevents gotchas when using `<template repeat>` inside of <core-pages>. Template will be counted as a child.