How to put value and key in variable to do mathematical operations on it?

{‘reference’: ‘تكاليف مقاول الباطن’, ‘total_group’: Decimal(‘92896.00’)}
this queryset
I need to put total_group in the variable to do mathematical operations on it
like sum
like this => supplier = total_group+1
the result = 92897

You need to convert the value to an int.
That is:

supplier = int(total_group) + 1