Fix STOPSHIP in SyncManager

- Remove WTF about removing periodic syncs. We haven't seen any reports of this.
Having a detailed log should be enough.

- Check the number of endpoints in the "unexpected periodic sync removal" check.

Bug: 64809410
Test: manual test
Change-Id: Icd6e595281c1a302f6ceec661561d3911785562b
diff --git a/services/core/java/com/android/server/content/SyncStorageEngine.java b/services/core/java/com/android/server/content/SyncStorageEngine.java
index 7b277c0..3591871 100644
--- a/services/core/java/com/android/server/content/SyncStorageEngine.java
+++ b/services/core/java/com/android/server/content/SyncStorageEngine.java
@@ -911,6 +911,12 @@
         }
     }
 
+    public int getAuthorityCount() {
+        synchronized (mAuthorities) {
+            return mAuthorities.size();
+        }
+    }
+
     public AuthorityInfo getAuthority(int authorityId) {
         synchronized (mAuthorities) {
             return mAuthorities.get(authorityId);