Ci sono tanti modi per arrivare allo stesso risultato.

Prova questo (non testato)

Codice PHP:
select from tabella T1
inner join 
(select ip_utentecount(distinct nome_utente) as tot 
 from tabella group by ip_utente
 having tot 
1T2 
on T1
.ip_utente T2.ip_utente