bucket.py is an easy way to group and count row data