Solution: Counting integers

Solution not written yet.