Well, FWIW, I would do
SELECT ID, COUNT(*) FROM myTable group by ID
'possibly'
SELECT ID, COUNT(*) FROM MyTable WHERE ID In (ID1, ID2, .. IDn) GROUP BY ID
The advantage comes if you then at some stage need to check the missing ones, while you can quickly sum the count(s) if that's what you need
You could also look at the 'HAVING' clause, ie,
HAVING COUNT = 0
SQL HAVING Clause[
^]