def METHOD_NAME(self):
    return self._fiscal_document_object().search_count(
        [
            ("fiscal_operation_id.fiscal_type", "=", self.fiscal_type),
            ("fiscal_operation_id", "=", self.id),
            ("state_edoc", "in", EDOC_CANCELED),
        ]
    )