... as many as you like.
The construction ... as [many/much] as ... is common.
Take as much as you want.
We want to see as many movies as we can at the film fesitval.
She said I could help myself to as much as I wanted to.
- For Teachers