added count to the abstractCrudModel