https://writeabout.tech/programming/create-a-method-that-counts-a-number/