extending CollectionResponse and adding total