The best way would be to look at one of the other dispcatX.pl files and from one of them get the coding lines you deleted from your dispcat8.pl filethese are the lines that count the total items listed:
opendir THEDIR, "$config{'basepath'}$key" or &oops("Category directory $key could not be opened.");
readdir THEDIR;
readdir THEDIR;
$totalfiles = scalar @{[readdir THEDIR]};
$totalfiles2 = $totalfiles2 + $totalfiles;
closedir THEDIR;
These are the lines that display the total items and total users
######## Auction Statistics ##################
print "<p>";
print "<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\" WIDTH=\"100%\">";
print "<TR><TD ALIGN=\"CENTER\" BGCOLOR=\"$config{'colortablehead'}\"><b>Auction Statistics</b></TD></TR>";
print "<TR><TD BGCOLOR=\"$config{'colortablebody'}\">Current Auctions Listed</b><font Color=\"red\"> ($totalfiles2)</FONT></TD></TR>";
print "<TR><TD BGCOLOR=\"$config{'colortablebody'}\">Total Registered Users</b><font Color=\"red\"> ($numusers)</FONT></TD></TR>";
print "</TABLE>";