corrected logic for getNumber for getting totalResults for IE

corrected logic for getNumber for getting totalResults for IE. The earlier logic was trying to select all nodes with given xpath and
returning length of them. This will not work since the xpath passed is
not of entries but of totalResults and moreover it will only return
number of entries for that page and not total results. So, the best
solution is to just return text value in case of IE.