Yes in Ontario.
Per pupil funding
Much of education funding is tied to enrolment.
Funding for classroom teachers, education assistants, textbooks and learning materials, classroom supplies, classroom computers, library and guidance services, preparation time (which funds specialist and student success teachers), and professional and para-professional supports is all allocated on a per pupil basis. (e.g. for every 763 elementary students, the province provides funding for one teacher-librarian; for every 385 secondary students, the province provides funding for one guidance counsellor).
Funding to heat, light, maintain and repair schools also depends, for the most part, on student numbers. There is funding to maintain 104 square feet per elementary student, 130 square feet per secondary student and 100 square feet per adult education student. There is also some “top up” funding for schools that are just below the provincially-designated capacity.
While a proportion of boards’ funding is based on numbers of students, there are other grants added to the “per pupil” base (Special Education, English or French language support, Transportation, Declining Enrolment, Learning Opportunities etc.). Per pupil funding is not meant to be equal, as different boards have different needs. But it is meant to provide equal educational opportunity\ies for all students.
How is education funded in Ontario? | People for Education