no need for so many "("
if($itemcount{xxxx} && $itemcount{xxxx} == 1) is also correct
if you have to put 2 items for a turn in for example, it is :
if($itemcount{xxxx} && $itemcount{xxxx} ==1 && $itemcount{yyyy} && $itemcount{yyyy} ==1)
|