Status to number in moodledispatcher.