Display Total Number of Trackbacks and Pingbacks

functions

function comment_count() {
global $wpdb;
$count = “SELECT COUNT(*) FROM $wpdb->comments WHERE comment_type = ‘pingback’ OR comment_type = ‘trackback'”;
echo $wpdb->get_var($count);
}


Number of Trackbacks