How to add timer count down feature in post reply

Hello, I got one PTE question here Humankind has an innate desire - (SWT)Summarize written text -

And I want when user typing their answers, there is a count down (10 minutes) to alert the time remaining. How to implement this feature? Thank you!