if something costs you an arm and a leg, it costs you a lot of money.
you know that horse cost an arm and a leg