am 017e96de: am a49a74cb: am e36c5d67: Add loop count control

* commit '017e96dee73b09c0b9eab0673fcc7a187e28ec9d':
  Add loop count control