Index of same items in a list

Thank you.I will change the block and try it.