Added some stored procedures to find defense and convict rate