def Layout(self, request, response, aff4_path=None):
    if aff4_path:
      self.state["aff4_path"] = str(aff4_path)
      collection = aff4.FACTORY.Create(aff4_path, mode="r",
                                       aff4_type="RDFValueCollection",
                                       token=request.token)

      try:
        self.size = len(collection)
      except __HOLE__:
        self.show_total_count = False

    return super(RDFValueCollectionRenderer, self).Layout(
        request, response)
dataset/ETHPy150Open google/grr/grr/gui/plugins/semantic.py/RDFValueCollectionRenderer.Layout