IS607Quiz3: updated char.count function to remove call to nchar.