post_count not working

post_count is not a parameter of WP_Query argument.

post_count is a property used to get the number of posts being displayed. For example, echo $my_related_posts->post_count; will display the number of posts being displayed.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)