For the last year and a half, Chloe – a King Charles cocker spaniel – has been working on an unusual skill.