page counting in  routes
added support for aliasing an object and using its parent id
aliasing improvement