build the documentation for the counts methods