How long will a dog live with dementia