post count is based on total number of post they've created, no matter if those posts are hidden or require approval. post moderation is not tied to a user's post count since "moderation" only limits access to the posts which the user already created and were credited for.
as you've brought up, it does make more sense to only give/take credits to the user based on their live post counts, minus their awaiting approval posts.