The number of foreign students enrolled in Japanese schools totaled a record 267,042 as of May, with most coming from Asian countries, a government affiliate said Wednesday.