fix for count in post listing