add  performBlockAndWait when call countForFetchRequest method.