added itemCount for tests