Distinct IPs count

Various implementations