If you need to display the total number of rows returned by Views, you need to simply add a “Global: PHP” field in the HEADER or FOOTER of your view setup and place the following PHP code inside the Output code area. Label you give here will only be displayed administratively. Don’t forget to use <?php and ?> delimiters to enclose PHP code.
<?php $view = views_get_current_view(); $view->execute(); $count = count( $view->result ); print "<strong>Total Number of Records Found: ".$count."</strong><br />"; ?>