Generates a random array-like string of random data and repeats it count times.
a random array-like string of random data and repeats it count times
the number of times to repeat the data
if data could not be generated