What is the difference between sum, count, min, max, mean and median?

Butlr API provides these functions for selecting and aggregating data over time.

Sum = actual occupancy

Count = number of records aggregated

Min = minimum occupancy value

Max = max occupancy value

Mean = average occupancy value

Median = median value sorted by time