countElements