feat(limitTo): support numeric input to limitTo

Closes #8926