auto alg_count auto count;
. Should you want to play around with stochastic backtracing (aka. Sampling) you need an identity function. The generated count algebra always uses sum as choice function and you cannot extend the auto generated algebra in order to overwrite the choice function. GAP-C actually crashes with a segmentation fault.