Breakdown one liner to avoid errors in parsing onionoo service logs
This breaks down the one liner to count error levels and classes in onionoo service logs into a for loop with more accurate checks.
I think it also improves the readability of the code and makes it easier to spot errors in the future.