Implement severity counting