I can\'t find a way to convert the SUM of multiple rows into an integer instead of a str. I tried use CAST but when I print(type) print(variable) it shows that it is a list