Try using this formula to count cells that are both non-blank and not equal to codes in OneCodes

=SUMPRODUCT((COUNTIF(OneCodes,$K56:$X56)=0)*($K56:$X56<>""))