Yes. Any year during which the worker worked for more than 240 days is considered as a completed year of service and must be counted in gratuity calculation. Therefore the 9 months additional to the 4 years will be considered as an entire year, thus completing 5 years of service.