<commit_before><?php
// Get user type
$userType = 'volunteer';

// Query retrieving user ID, first name, last name of volunteers
$result = db_query('SELECT f.field_first_name_value, l.field_last_name_value, u.name FROM {role} r, {users_roles} ur, {field_data_field_first_name} f, {field_data_field_last_name} l, {users} u WHERE u.uid = ur.uid AND f.entity_id = ur.uid AND l.entity_id = ur.uid AND ur.rid = r.rid AND r.name = :userType', array(':userType' => $userType));
echo "<br />";
// Output
foreach ($result as $record) {
	$userName = $record->name;
	$firstName = $record->field_first_name_value;
	$lastName = $record->field_last_name_value;
	echo '<a href="../users/' . $userName . '/">' . $firstName . ' ' . $lastName . '</a>';
	echo "<br /><br />";
}
<commit_msg>Revert "Revert "Add Total Volunteer members.""<commit_after><?php
// Get user type
$userType = 'volunteer';

// Query retrieving user ID, first name, last name of volunteers
$result = db_query('SELECT f.field_first_name_value, l.field_last_name_value, u.name FROM {role} r, {users_roles} ur, {field_data_field_first_name} f, {field_data_field_last_name} l, {users} u WHERE u.uid = ur.uid AND f.entity_id = ur.uid AND l.entity_id = ur.uid AND ur.rid = r.rid AND r.name = :userType', array(':userType' => $userType));
$count = 0;

// Output
foreach ($result as $record) {
	$userName = $record->name;
	$firstName = $record->field_first_name_value;
	$lastName = $record->field_last_name_value;
	++$count;
	echo '<a href="../users/' . $userName . '/">' . $firstName . ' ' . $lastName . '</a>';
	echo "<br /><br />";
}

// Total volunteer members
echo "Total Volunteer Members: $count";
{'fraction_non_alphanumeric': 0.17504542701393094, 'fraction_numerical': 0.0006056935190793458, 'mean_word_length': 4.470198675496689, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6600510', 'n_tokens_mistral': 601, 'n_tokens_neox': 594, 'n_words': 158}