added 'byteCount' method to bigi