SELECT count(ip) ,ip FROM log WHERE ip like '%88.111.111.111%' GROUP BY ip
gibi