In a home schooling spelling test consisting of 20 words, a girl spelled only two correctly at the first attempt.
After learning the spellings she tried the same 20 words again.
If her average over the two attempts was nine, how many of the 20 words did she spell correctly on the second attempt?