fix when currentPage is major than pageCount, fix inserting a NaN in inputs

It shouldn't be necessary to store this in the session - you can call the function from template helpers like this: ```Template.reactiveTable.getPageCount.call(this)```

And it adds some weird dependencies - getCurrentPage only works if another helper has run and called this function to set the session variable.