Get the number of rows from $wpdb->get_results not working

Doing a Select Count(*) … will only ever output one row with a single value – the number of rows that satisfied your where clause.

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