Why the cifar10 tutorial has total iteration number of 12500?

I print out the value of i for the training process of the CIFAR10 tutorial. I am curious of why the output of the i for each epoch is “0 … 12499”. As we know there 50000 training samples. How can we get the detail info about the training data set? Thanks in advance.

for i, data in enumerate(trainloader, 0):

I was stupid. I just realized that it has batch_size of 4 and it will get 50000 when 12500*4