Returns the number of pending synchronization operations for a given userId.
userId
Future<int> getPendingCount(String userId) async { final pending = await getPending(userId); return pending.length; }