API Down Bug

I've noticed that the tumblr api is down a lot and when it is the response returned in nil which causes a NoMethodError because it's trying to access an array element on nil in the count method of Post. I've added a resque block to return 0 when tumblr api is down and a response isn't returned so that an exception isn't thrown.