class_docstr: `Flickr8k Entities <http://hockenmaier.cs.illinois.edu/8k-pictures.html>`_ Dataset.
  
  Args:
      root (string): Root directory where images are downloaded to.
      ann_file (string): Path to annotation file.
      transform (callable, optional): A function/transform that takes in a PIL image
          and returns a transformed version. E.g, ``transforms.PILToTensor``
      target_transform (callable, optional): A function/transform that takes in the
          target and transforms it.
code: def __len__(self) -> int:
      return len(self.ids)
  
imports: import glob
  import os
  from collections import defaultdict
  from html.parser import HTMLParser
  from typing import Any, Callable, Dict, List, Optional, Tuple
  from PIL import Image
  from .vision import VisionDataset
label_desc: Use image node_id 3 for calling the Flickr8k obj's underlying member method code with example usage: obj.__len__() and returns: len