How to know the amount of numbers


#1

hi I needed this to do
t = 1
while t < 51 do
print t
t += 1
end

but i want to know the size of the result. Like how many numbers are used in total?