Dumb implementation of ByteCount[]