Estimating the length of a bounded curve in three dimensions using total vertical projections