If you search for ADA counter height, you will find several measurements that appear to conflict. The difference usually comes from the surface’s purpose, not an error in the rules.
A payment counter does not follow the same measurements as a dining surface or kitchen workspace. The customer’s position also changes the space needed beside or beneath the counter.