fixed post count bug (included attachments in default count of 10)
actual post count bugfix