SEMVER updates
LPS-43128 Check if count param does not exist (as in Tag Cloud portlet)
LPS-43142 making the fix more robust by checking for portalURL before returning the substring