^
Tested something i almost got to work but when did this it does not show anything
<?php
$comment_count = $wpdb->get_var($wpdb->prepare("SELECT COUNT(*) FROM wp_iphorm_form_entry_data WHERE <code>value</code> LIKE 'reg%';"));
echo '<p>Total comments: ' . $comment_count . '</p>';
I just used comment_count php i found just to test. This results in nothing.