Fixing `array.percents()` for optional custom `total`

Updating docs