There were over 334.6 thousand pupils at schools in Northern Ireland in 201920 , with over 183 thousand primary school students , 145 thousand high school students , and over 5.8 thousand pupils t nursery schools .