[hephaestus] Update context and entities count