ENH: Add len() functionality to BarData.