IP counter