If Count is actually a field, the above should work. If not, try this.
| stats values(Text) as Text, count as Count by Name
| table Name, Text, Count
| eval Text=mvjoin(Text,",")
the eval Text mvjoin can be added if you want it to be a comma separated list