how many pixels in total we have.

And you can get a sense that we have in fact 19,200.

And divide the totals by the 19,200.

So here we can simply state this, so count is the number of pixels.

Again, this is going to be 19,200 because that's the width times the height.

And to get the average red,

average green an average blue, we divide the total red, divide it by the count.

Same for the total green and same for the total blue.

So after we've gone through all these processes what we get is, for

these three constants, we get the average of what this image is.

For red the average is 122, for

green the average is 112 and for blue the average is 51.

Of course, now that we know what these averages are,

we don't have to run this every single time in the playground.

So we could simply comment this out.