devrel

Stars in their eyes

Your challenge is to return the amount of green pixels in the following image:

stars with dimensions

He’re is a JSON dataset with the dimensions of each star.

[
    { "width": 200, "height": 300 },
    { "width": 200, "height": 150 },
    { "width": 100, "height": 100 }
]