The manufacturer’s minimum reflash count specification for Mazdaspeed ECUs is 100. However, in practice some users with similar hardware have had more than 1000 flashes without any side effects.
Most people will find a tune that works well with their vehicle after trying only a few maps.