Weight loss by counting calories?

How effective is counting calories if I'm not able to exercise?

I have been using my fitness pal to track my calories, but I'm wondering if that alone will help me lose weight. I have some medical issues that are preventing me from exercising.

I have been using it for about a week now and just want to know if it is worth it to continue using.