I have such query
SELECT `id`
FROM (`TABLE`)
WHERE date(FROM_UNIXTIME(time)) >= '2013-10-28'
GROUP BY `last`
ORDER BY `id_s` DESC
the result is:
| id |
9
1
1
9
50
3
1
My question is how to count how many times repeating number 9 in result?
So, the final result must be one row with number 2
Somebody have idea how possible to do it?