Very strange behavior

if ( countHD == 2 )