Hi all!

I have a content type with two fields for People; one text field (for people who are not site members) and one user reference field. Both fields have multiple values enabled.

I display this content type via a List View, and want People to display seamlessly, "as one", whether it's from the Text field or the User Reference field - or both. If there's more than one person, I display "Several people", and have a script which drops down and displays the people. If there's just one person, that person's name is displayed.

Ive tried to merge the two fields using merge_array to get an $all_people value which I in turn can count (I have come to realize that these values probably aren't arrays).

What I'm trying to do in the VIEWS_LIST_PEOPLE.tpl.php file is to count() the number of people in each field and set up an:
if (count($all_people)>1) {
DO THE FIRST THING
} else {
DO THE SECOND THING}

My problem, however, is that the fields show a count() of 1 both when the actual count is 0 and when it's 1. Except for when that value is 0, the count() displays the actual value.

I realize that there are probably much better ways to do this, for instance as a function in template.php, but it lies well beyond my abilities... If anyone has any bright ideas they would be received with great appreciation!

Thanks!
joeboris