Adding jbm_v3_length function