Store the machines count in the bundle extra info.

A bundle like that would not pass verification (and therefore it would not reach this code path).
For this reason, the bundleExtraInfo function safely assumes the bundle is validated, and such a case is not possible (so no need to be tested).
See https://github.com/juju/charm/blob/v3/bundledata.go#L289