When, where, and how many planets end up in first-order resonances? | Synapse