This question follows another, just solved here
Now I want to do a different count, more difficult to figure out.
In my parsed HTML table, every rows contains two very similar, and consequential, 'td' (number 4 and 5):
<tr>
(1) <td class="tdClass" ....</td>
(2) <td class="tdClass" ....</td>
(3) <td class="tdClass" ....</td>
(4) <td class="tdClass" align="center" nowrap="">No</td>
(5) <td class="tdClass" align="center" nowrap="">No</td>
</tr>
The strings could be "No" in the first 'td' and "Yes' in the second one, and vice versa, both "Yes" or both "No".
I want to count how many 'td', of the 5 kind, contains "No"
By now I counted other 'td'-s by looping through them (see the selected answer for my previous question linked at the top) and selecting only ones matching a target string.
This could be done because those target strings appear only one time in each row.
In this case, instead, the target string ("No") is not unique for each row, because, as in the example above, could exist two times (in the 'td' 4 & 5) in the same 'tr'.
By that, I really don't know how to select only the second (5) 'td' for each row, which match the target string "No", and to exclude the (4) 'td' (which could match the same string) from the count.
Obviously, these two 'td'-s are under different column titles, but this couldn't be useful to distinguish them.
The only solution I have thought about, is to count the 'td' position from left, and to select only the 5th one, but I don't know if it's possible.