add check for $_options[countItems]