Find the Maximum Number of Marked Indices