The second ability checks the number of attacking creatures you control only as the ability resolves. If another attack trigger (such as from the mobilize ability) puts creatures onto the battlefield attacking, you can choose to order the triggered abilities so that those creatures enter before Stormbeacon Blade’s ability resolves.