Coherent exciton dynamics as a function of quantum-well number