SELECT uid, COUNT(*) AS count FROM events GROUP BY uid HAVING COUNT(*) > 1;