Added memcache support to get_status_counts