Just trying to get my head around MVC and having a little trouble with counting the amount of widgets in the database.
I am not sure if this is what is screwing it up but