added solution for "Count IP Addresses"