Hi,
your the_row
need to be before you do any get_sub_field
, so it starts the iteration. That’s why your first one is always empty because you haven’t start the iteration yet.
So, a side note, you don’t need $count variable, acf has get_row_index()
😉
Cheers.