SAMZA-407: Add metric for counting exceptions by type