SERVER-11499 Fix dumprestore5.js by counting indexes only on collection of interest.