         }
         
         let listLimit = moc.wmf_readingListsConfigMaxListsPerUser
-        let readingListsCount = try countOfAllReadingLists()
+        let readingListsCount = try moc.countOfAllReadingLists()
         guard readingListsCount + 1 <= listLimit else {
             throw ReadingListError.listLimitReached(limit: listLimit)
         }

            }
        }
    }
}

            }
        }
        sync()
    }
    
    /// Marks that reading lists were deleted locally and updates associated objects. Doesn't delete them from the NSManagedObjectContext - that should happen only with confirmation from the server that they were deleted.
