Number-unconstrained quantum sensing