Added a third parameter to `array.percents()` to set `total`