In this rule

Historical Rules · 10 June 2022

Rule 115.9a

Official source text from the 10 June 2022 Rules release

Permalink

An object that looks for a “[spell or ability] with [a number of] targets” checks the number of times any object or player was chosen as the target of that spell or ability when it was put on the stack, not the number of its targets that are currently legal. If the same object or player became a target more than once, each of those instances is counted separately.

Find this number in the current Rules