Feature/totaladdresses

PR for Feature Request #2.