Statistical modeling of ion–molecule electrostatic capture