Write a SQL query to find duplicate records in a table and return the duplicate keys with their counts.