This query:
SELECT COUNT(source) AS count FROM call_details GROUP BY source HAVING count >1
Returns about 1500 (the number I\'m looking
Assuming you are going to fetch all the results in the application anyway, I think the most efficient way would be to just sum it up in the application code.