The CRUD example need to call the total function