Bounds on the topology and index of minimal surfaces