Key "totalpages" ... does not exist - Ported back to branch 1.7

Bug: Key "totalpages" for array with keys "kitchensink" does not exist in "overview.twig" at line 8
Ported back to branch 1.7