[~]$ cat hosts_example.txt | grep -v '#' | awk '{print $1}'| sort | uniq -c 56 1 ::1 9674 127.0.0.1 1 255.255.255.255 1 fe80::1%lo0