A number is a perfect square and a perfect cube if and only if it is a perfect sixth power. The number of positive perfect sixth powers $\le 10^8$ is $\lfloor (10^8)^{1/6}\rfloor$.
Similarly, the numbers that are perfect squares and perfect fifth powers are the perfect tenth powers. The number of these $\le 10^8$ is $(10^8)^{1/10}$.
We can similarly count the numbers that are simultaneously cubes and fifth powers.
To find the number of numbers that are simultaneously squares, cubes, and fifth powers, note that these are the thirtieth powers, and there are $\lfloor(10^8)^{1/30}\rfloor$ of them from $1$ to $10^8$. That is not very interesting in this case, there is only one.
To count the numbers in our interval that are neither squares nor cubes nor fifth powers, we use Inclusion/exclusion.
Call a number bad if it is a perfect square, or perfect cube, or perfect fifth power. We want to count the number $b$ of bad numbers in our interval. Then the answer to our problem is $10^8-b$.
If $A$ is the set of squares, and $B$ the set of cubes, and $C$ the set of fifth powers (all in the interval $1\le x\le 10^8$), then the number of bad numbers can be found by Inclusion/Exclusion. We have
$$b=|A\cup B\cup C|=|A|+|B|+|C|-|A\cap B|-|B\cap C|-|C\cap A|+|A\cap B\cap C|.$$
we know how to compute all the numbers on the right.