Add checking number of random data.