[BaseModel] Total size function for collection class