get the # of steps from react.children.count