Fix migrations and schema
Add total method to students controller