It is the first day of a new school year, and this class has only 10 students. Ashley has 9 friends, Betty has 8, Caleb has 7, Derek has 6, Elaine has 5, Graham has 4, Henri has 3, Ivana has 2, Julie has 1. How many friends does Fred have?