Mr. Jones has all the students in his class line up. The 9th student in line ends up being exactly at the middle of the line. How many students are in Mr. Jones's class?