class_docstr: Run length encoding of a mask.
  
  Don't instantiate this class directly, instead use the classmethods
  `from_coco` and `from_kaggle`.
code: def to_coco(self) -> List[int]:
      return self.counts
  
imports: from icevision.imports import *
  from icevision.utils import *
  from PIL import Image
label_desc: Use image node_id 3 for calling the RLE obj's underlying member method code with example usage: obj.to_coco() and returns: self