Fixed a minor bug with total # of groups printed.