Thunder Salvo deals X damage to target creature, where X is 2 plus the number of other spells you've cast this turn.
The value of X is determined only once, as Thunder Salvo resolves.
Thunder Salvo will count any other spells you’ve cast this turn. It doesn’t matter if the other spells resolved, didn’t resolve, were countered, or are still on the stack.