Flipkart interview question

Write to scripts to count the number invalid requests from each ips