Add counted_bind handler wrapper