"Medicating students has replaced counseling"
Actually medicating students has replaced discipline. A few swats from the coach used to be worth a whole lot more than a dozen counseling sessions
That and the other thing is the ability to exclude a troubled or troublesome student from school. Now schools must take them, in some capacity until they are 18. For some students, in the past they would find no place for them in school, no need to be on medication, only a job that they would start learning to earn their living. They were not a problem for the school, they did not need capital discipine or medicine, because there was a third elective.