Loop wait few sec. after 10 steps iteration

I have many records - going to DB. I have loop on it. I need that after 10 steps of iteration loop take a break on few seconds.
Could You help me, please, with this problem?
Thank You,

Get the iterator value for 10th record and make the sleep the thread !!