pub async fn sync_get_pending_count( db: State<'_, DatabaseWrapper>, user_id: String, ) -> Result<i32, String>
Get count of pending sync operations for a user