Add method for calculating the length of a bar

I'm going to use it to craft a 5 bar stop