create actual image kind counts & percentages in controller and pass values to template