A characteristic number of bundles determined by mass linear pairs