def clone_first_count_pair
import bendtorch-core@0.1.0.0/src/tensor/observation.bend as Observationimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
299def clone_first_count_pair(+shape: Shape.Shape, pair: Core.Tensor<shape> & Core.Tensor<shape>) -> Maybe<&2, U32>:
300 (first, second) = pair
301 count_pair(Core.count(Core.pack(shape, first)))