Is there a max number of arrows you can have?

The maximum number of arrows you can carry is 999 each