fix hand counting logic