closed #3218 change api numberOfRunningActions to getNumberOfRunningActions.