Confused count with index.