Add new API including loop count

No match.