How does Garmin average cadence?

Mostly just curious - does anyone know how Garmin factors readings of zero, ie…not pedaling, into the average cadence measurement? Do zeroes get ignored, similar to how average speed doesn’t include time stopped, or are they thrown into the average calculation? Thanks.