There are 9 gallons of paint for the students to use to paint the fence outside of the schoolyard. Each student has a bucket that holds 1/3 gallon. How many buckets does the 9 gallons of paint fill?