name = "John"; $person->age = 30; $person->gender = "Male"; $totalCount = count(get_object_vars($person)); echo "Total number of properties in Person: " . $totalCount; // Output: Total number of properties in Person: 3 ?>The Person CountAll function is included in the PHP Standard Library, which means it is readily available without the need for any external package libraries.