magicalpanda/MagicalRecord — pull request #835 by yaozhuoyu (2014-08-21 17:40:09+00:00)
Title: add  performBlockAndWait when call countForFetchRequest method.

countForFetchRequest method should be call in performBlock. Otherwise，when multiple threads call, deadlock will occur.