Final answer:
Without specific data, it is not possible to determine the number of students who said math was their favorite subject.
Step-by-step explanation:
In order to determine how many students in the survey said that math was their favorite subject, we need to consult the provided information.
The information given includes the results of a random survey conducted across all mathematics courses. However, the specific number of students who said that math was their favorite subject is not mentioned in the given information.
Therefore, without more specific data, it is not possible to determine the exact number of students who said that math was their favorite subject.