According to the rules, it counts as nine words.
The first rule you cited are for numbers "used on their own", and the second rule is for numbers used in a numbered list.