Write stringCount into intended bytes

Else stringCount would overwrite the bytes classClount previously had been written to and the bytes intended for stringCount would stay zero.