Show only if x comments?

wp_count_comments() returns the number of comments either for the whole blog or just for the current post.

Example:

if ( 10 < wp_count_comments( get_the_ID() )->approved )
    echo 'Wow, more than 10 comments!';

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