stats per institute: reduce loops #2575

for #2575