Longitudinal sum rule for inelastic electron scattering and nucleon-nucleon correlations