itemCount function working!