How many years can a dog live with dementia