Write a bash script that reads standard input and prints how many lines it has, as one number.
Every line ends with a new line. A blank line is still a line. If the input is empty, print 0.
Example: the input
apple
banana
cherry
prints 3.

Write a bash script that reads **standard input** and prints **how many lines** it has, as one number. Every line ends with a new line. A blank line is still a line. If the input is empty, print `0`. Example: the input ``` apple banana cherry ``` prints `3`. Write a bash script that reads **one whole number n** (0 or more) from standard input, on a line of its own. Print the numbers from 1 to n, one per line. If n is 0, print nothing. Example: the input `3` prints ``` 1 2 3 ``` Write a bash script that reads **whole numbers**, one per line, from standard input (they can be negative or zero) and prints their **sum**. If the input is empty, print `0`. Example: the input ``` 4 6 10 ``` prints `20`.