1. She said the number of people with flu will increase in the coming weeks.

2. She said the number of people with flu would increase in the coming weeks.
3. She said, "The number of people with flu will increase in the coming weeks."
4. She said the number of people with the flu will increase in the coming weeks.
-------------------------------------------------------------------
Which sentences are grammatical?
Do we have to use 'will' or 'would'?
Can we use both 'flu' and 'the flu'?

All are syntactically correct

"flu" and "the flu" are both commonly used
1,3,4 indicate what she thinks will happen in the future
#2 indicates a past opinion, and might or might not have actually happened.