Implement counterCache for Assessment.

Bug fix for add and edit for model Assessment