What does ‘lucky’ mean in this context? Is this something you would say to someone you care about?

‘We are also lucky to have you as a friend. I hope that you know you have lots of people who are there to talk to you in times of need :)’