Print the number of all problems
Add docstrings