MySQL count with group by not returning correct result

I have a ticketing system that I am trying to run a report on. I am trying to get the number of tickets touched per user.
With this first query:

SELECT * FROM (
SELECT TicketID, UserID, EventDateTime
FROM dcscontact.ticketevents
WHERE EventDateTime BETWEEN '2016-06-22' AND '2016-06-23'
ORDER BY EventDateTime DESC) x
WHERE UserID=80
GROUP BY TicketID;

I am able to list the tickets touched for a particular user, and can count them manually:

But when I try to drop the WHERE UserID= statement, and try to use it as a subquery like so:

SELECT UserID, COUNT(*) as count FROM (
SELECT * FROM (
SELECT TicketID, UserID, EventDateTime
FROM dcscontact.ticketevents
WHERE EventDateTime BETWEEN '2016-06-22' AND '2016-06-23'
ORDER BY EventDateTime DESC) x
GROUP BY TicketID) y
GROUP BY UserID;