Material eager loading

use eager loading in material seen count traking to imporve performance