Dynamically count the number of custom post types associated to a custom taxonomy

You have to get them with WP_Query. Creat an array then get the number of posts from found_posts function.

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