Fix infinite counts to/fromString not roundtripping (Infinity -> NaN)

parseInt('Infinity') is not Infinity, but NaN, so we need to
special-case this case otherwise toString() and fromString() will
corrupt infinite piles. Note: alternative could be to use parseFloat(),
as it will return Infinity as expected, but counts are only integral.
0.2.1