corrected an issue with the Total addresses count at the end of the script