added element count example