Trying to make a count effect

Godot Version

Godot 4.3

so I have gotten to a dead end here I want to make a number on a label go up from lets say 1 to 10 nut not jump to it so instead it would go like 1 2 3 4 5 6… in lets say 1 second and or something like that I already have a good base for everything to work I just need the heart of the code for it

oh and I want to be able to increase the number from 0 to 100 so it goes from 1 2 3 4 5… u get it until 100 in the same amount of time as it would be from 0 to 10
this is the gist of it any help is welcome

for i in nut_count:
	await RenderingServer.frame_post_draw
	await RenderingServer.frame_post_draw #this will make skip of one rendered frame and you'll notice visual effect
	label.text=str(i)