Simplify the feed count query.