I would take a look at the WP Comment Remix plugin which has a feature in it that tells you how many comments you have with 0 replies. This plugin is not maintained anymore but the code within it for that specific function might give you a head start. http://wordpress.org/extend/plugins/wp-comment-remix/