Similar Items: Bounded variation and the strength of Helly's selection theorem