Fix warnings of comparison between signed and unsigned integer expressions by changing return type of method GetToolCount to unsigned int
These warnings are treated as errors on Linux systems. By changing the return type, the consecutive errors had to be fixed, too.