i think we should add a getRoutesCount method as well, to replace the count method. that currently still will load all routes.