Added count by index