Galaxy bias and halo-occupation numbers from large-scale clustering