Echo post count of CPT with current taxonomy

In your taxonomy archive template, just add the following:

At the top: global $wp_query;

Then to get the post count for the entire term:

echo $wp_query->found_posts

This will display all posts in the query, which in a taxonomy template will be all posts attached to a term.

WP Query Codex

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