What exactly are math course requirements?

Hi, I am a junior currently deciding on what courses to take next year. I have taken three years of math in high school so far: pre-calculus, AP calculus BC, and calculus 3.

When I was looking at college credit requirements today, I noted that some wanted 4 years of math. What does this exactly entail? Does this mean that I have to take 4 math courses in high school, or does this mean that I just need to complete up to at least pre-calculus?

Also, if it is the former, would AP Statistics satisfy this requirement? How about AP Computer Science?

Thanks!