Count number of unsynced entries