Updates the ‘count the number of child steps’ problem.