Infer expectedlen from datashape if able to and not passed a kwarg