Update 20131017014509_add_post_count_to_categories.rb

In case the category does not have any posts yet. You get a null value error running the migration if this is the case.
Merge pull request #1556 from eriko/patch-1

Update 20131017014509_add_post_count_to_categories.rb