I haven't actually tested this.
If I am going to add a ton of new strings and can't figure out the number, there is a simple math equation you can do to figure out exactly how many strings are in your .str file. This is assuming you are using Notepad++ to do your text editing.
In Notepad++, it shows how many lines of text you have. There are 2 lines at the very top that are never repeated and don't add to the .str count. Each .str entry after that is made up of 3 lines. For example...
TXT <-- Never repeated
NumStrings 3 <-- Never repeated
StringInfo <-- .str line 1/3
ID "IDSPlayerAINameTech0" <-- .str line 2/3
Value "Guristas" <-- .str line 3/3
StringInfo <-- .str line 1/3
ID "IDSPlayerAINameTech1" <-- .str line 2/3
Value "Arch Angels" <-- .str line 3/3
StringInfo <-- .str line 1/3
ID "IDSPlayerAINameTech2" <-- .str line 2/3
Value "Serpentis" <-- .str line 3/3
The equation to find out how many lines you have is simple. Scroll down the very bottom of your .str file and look at the number of your last line. For me, it's 16118. Take this number, subtract 2 (for the top 2 lines), and divide that number by 3.
x = TotalLines
y = NumStrings
(x - 2) / 3 = y
so....
(16118 - 2) / 3 = 5372
This is what I do to figure it out. I just tested it with NumStrings 5400 and it works just fine, but I'm sure it's better if you are accurate!
Hope it helps.