adding following line to the inc_features.php (must be used ofcourse free included as of PP 4.86

)
$photoquery = "SELECT COUNT(id) FROM {$pp_db_prefix}photos";
$totalphotos = mysql_query($photoquery);
Gave me something like this Photos: Resource id #19