in reply to Re^3: Adding an element to an array
in thread Adding an element to an array

We can do this with sort and uniq commands in Unix. Keep all the data in file and try below commands
cat 1.txt|sort |uniq -c
Output would be 1 Jane B,. Squere Rd., House 1 3 John Doe, Main Street, House 1 2 Maria D., Pat street, House B 4 Mary Lou, Central Street, House 1 the numbers before name are the number of houses the person has I can still provide you the output in required format using awk