On the number of weakly Noetherian constants of motion of nonholonomic systems