Can’t evaluate field ByCount in type page.Page

As simple search for “bycount” in the forum turns up this post:

which seems to deal with your problem, too.