Actually, the count is exactly as I intended, I wanted to output how many credentials were removed from the database. It's just the output is a bit confusing (since it's the number of keys in the database deleted rather than the number of unique keys deleted).