Focus Fire deals X damage to target attacking or blocking creature, where X is 2 plus the number of creatures and/or Spacecraft you control.
The value of X is calculated only once, as Focus Fire resolves.
A Spacecraft you control that’s also a creature counts only once toward the value of X.