> I need to make it a String first, and then use the .to_i function   ->
> "#{count}".to_i
> this can't be right, can it?

try "puts count.type" to see the type of count.


tk.