Is there a way I can tell crunch how much lines to generate? [closed]

I want to create a wordlist with crunch in linux, but my problem that if I want to use this for example:

1234567890qwertyuioplkjhgfdsazxcvbnmQWERTYUIOPLKJHGFDSAZXCVBNM

But the file will be very large, so is there a way I can tell crunch to generate only 5000 lines ?