Performance: Remove call to file count API endpoint

Just count the deserialized array in PHP instead.
Filter by upcoming published flag

Live Editor will have drafts in 2014.
Merge branch 'drafts'