Separate theme functions from logic
Cache post_counts array and only update when nodes are created 
  or destroyed of the node-types we care about or when the admin
  settings are changed (will have to store counts for all node-types
  if we do caching like this).
