Let's say we want to find out how many stars have higher than average intensity.
First, we'd find the average intensity by calling:
a. summing all the intensities and dividing by the total number of stars
b. adding up the intensities and dividing by the number of intensities that are not zero
c. finding the median intensity and using that as the average
d. taking the highest intensity and dividing by 2