function last() must return a number equal to the context size of the current node

As mentioned in the [XPath 1.0 Recommendation](http://www.w3.org/TR/xpath/#function-last) the function last() should return a number.
With my upcoming pull request it will be possible again to index with last() concerning to the support for abbreviated syntax for accessing indexed.