Pass app statistics to templates