Words being counted but result incorrect in Go