The average score on the surprise quiz was 7 out of 10. Three students earned a 0, two earned only 1, one earned a 2 and rest of the students scored an integer. No student earned a perfect score. What is the least number of students there could have been in the class ?

(A) 5

(B) 11

(C) 23

(D) 25

(E) 100

Please kindly mention the solution with explanation too. Thanks