added max and min to StatCounter repr for pyspark