This information is available from the California Dept of Education here:
https://www.cde.ca.gov/ds/sd/sd/filesenr.asp

It contains enrollment by ethnicity, grade, and gender.

I'm just posting a trimmed down version with only OUSD schools for each year along with a unified file which has the total for each school by year. This is something you can do with the raw files using something like Pivot Tables.

These fields are compatible with DCAT, an RDF vocabulary designed to facilitate interoperability between data catalogs published on the Web.
FieldValue
Modified Date
2018-07-08
Release Date
2018-07-08
Frequency
Annually
Identifier
1e8d8b54-3ee2-464c-96b6-5433083227bd
License
Other (Public Domain)
Public Access Level
Public