They are counted in France, albeit not on a daily basis, which explains the irregular bump on data such as https://www.worldometers.info/coronavirus/country/france/
The official government stats publishes both numbers (death at hospital / death in care facilities).