Reset num saved networks with mac randomization before counting

Even though this is already being reset after metrics upload, data
suggests that this is still getting double counted in some cases.

Clear the counter before looping through networks to make sure the state
is clean.

Bug: 145163801
Test: unit tests

Change-Id: Iaa1f5625458068f007313e58bb5a443a63810be8
Merged-In: Iaa1f5625458068f007313e58bb5a443a63810be8
(cherry picked from commit f01c5028e3056cf38ce6d1439a42b7178d5621a4)
1 file changed
tree: ca9739037ca41cf6d73160ac0bbcd1f6f6f0c307
  1. service/
  2. PREUPLOAD.cfg