python 3.x – subtracts Python values36

I'm trying to subtract the value from requests.get ("http: //link/test.txt")

test.txt = 5

and I'm trying to subtract 5 – 1

my code:

count1 = requests.get (& # 39; http: //link/test.txt')

@ client.event
async def on_ready ():
wait client.change_presence (game = discord.Game (name = + test: + count1.text - int (1), type = 1))

I want to get 5 – 1 = [Final result to be : 4] state of the bot "test: 4"

error: use str not int