Im very confused why its not outputting values

it does for day 1, but day two it outputs less and after that it doesn't
output any at all.
the line is supposed to output the random value that is generated for
each bird a lot of times each day