bundle2: add a ``bundle20.nbparts`` property
This property can be used to know how much parts have been added to the bundle2.
This will be useful to check if any part have been generated for a push.
Testing that hghave does not crash when checking features $ "$TESTDIR/hghave" --test-features 2>/dev/null