Add the real number of primaries/secondaries in server/index