src/sap.ui.commons/src/sap/ui/commons/RoadMapRenderer.js
function(oStep){
		var bIsTopLevel = oStep.getParent() instanceof sap.ui.commons.RoadMap;
		var aSteps = oStep.getParent()[bIsTopLevel ? "getSteps" : "getSubSteps"]();
		var iCount = aSteps.length;
		for (var i = 0; i < aSteps.length; i++) {
			if (!aSteps[i].getVisible()) {
				iCount--;
			}
		}
		return iCount;
	}
function(oStep){
		var bIsTopLevel = oStep.getParent() instanceof sap.ui.commons.RoadMap;
		var aSteps = oStep.getParent()[bIsTopLevel ? "getSteps" : "getSubSteps"]();
		var iCount = aSteps.length;
		for (var i = 0; i < aSteps.length; i++) {
			if (!aSteps[i].getVisible()) {
				iCount--;
			}
		}
		return iCount;
	}
function ( oStep ) { var bIsTopLevel = oStep . getParent ( ) instanceof sap . ui . commons . RoadMap ; var aSteps = oStep . getParent ( ) [ bIsTopLevel ? "getSteps" : "getSubSteps" ] ( ) ; var iCount = aSteps . length ; for ( var i = 0 ; i < aSteps . length ; i ++ ) { if ( ! aSteps [ i ] . getVisible ( ) ) { iCount -- ; } } return iCount ; }
Computes how the aria-setsize property should be set for the given step
Computes how the aria - setsize property should be set for the given step