Yes. Usually you would use a class method. See the exercises.
That about wraps it up for this chapter. If you feel equal to the challenge, review the following topics.
length