add AssetCount to BundleBase (fix #254)