Adding a count to the uuids and exporting it.
Checking the last item to be fetched.