A weapon with this special rule makes as many shots as the number of models in the front rank of the target unit that are within range.
Source: Warhammer Armies Project: Unofficial 9th Edition
A weapon with this special rule makes as many shots as the number of models in the front rank of the target unit that are within range.