StatisticsPerInstitute: use students instead of accounts #2521

for #2521 
I was expecting to see more deleted code because we are no longer retrieving accounts.
Do we have to retrieve students twice? May be we can do it from just one database read.