In this rule

Historical Rules · 15 July 2011

Rule 715.1b

Official source text from the 15 July 2011 Rules release

Occasionally the game gets into a state in which a set of actions could be repeated indefinitely (thus creating a "loop"). In that case, the shortcut rules can be used to determine how many times those actions are repeated without having to actually perform them, and how the loop is broken.

Find this number in the current Rules