Just use sum() for calculation.
bug fix for --join option handling
version 6.21