Get total number of features for WFSPermalink as well

Addition to PR #728