count PPI in background