A new study has a magic number (or three) of steps to use when out walking to cut your risk of dementia later in life.