But why is it 11 data?

My code generates the line number of times thats mentioned in the quantity column.. Is it not how you want it?