Fixed the various decoders to return the correct count value in Decode()