Add fix to getPostCount