countKonvaShapes = async () => {
  const stage = window.Konva.stages[0];
  const regions = Htx.annotationStore.selected.regionStore.regions;
  let count = 0;

  regions.forEach((region) => {
    count += stage.find(`.${region.id}`).filter((node) => node.isVisible()).length;
  });

  return count;
}
Count shapes on Konva, founded by selector
@param {string|function} selector from Konva's finding methods params