Increment the total count for the subject as well
Add an external key and raw data field for storing audit details
When throwing exceptions, pass through errors for prepared statements