I got As in statistics and math.
I got As in statistics, stata and math.
I got As in two subjects.
I got As in three subjects.
This implies that you studied more subjects, but only got As in 2 or 3. We don't know what other grades you got.
I got As in both subjects.
I got As in all three subjects.
This implies that you ONLY studied 2 or 3 subjects, and you got As in everything!
(p.s. I am not sure what "stata" is - not something I know in English...)