Added post_count cache

This fixes the *easily fixable* part of #135.