Mod-6 up counter counts from $0$ to $63.$ Here, the given values are $100101_b = 37_{10}$ and $101_2 = 5_{10}.$ So, the counter will need $63 - 37 = 26$ clock pulses to reach the maximum value, one more clock pulse to reset the counter and $5$ more clock pulses to get value $5.$ So, total number of clock pulses $ = 26+1+5 = 32.$