code: @Override
      public final int getItemCount() {
          // Cache the counts and return the sum of them.
          headerItemCount = getHeaderItemCount();
          contentItemCount = getContentItemCount();
          footerItemCount = getFooterItemCount();
          Log.v(TAG, "getItemCount()"
                  + " headerItemCount=" + headerItemCount
                  + " contentItemCount=" + contentItemCount
                  + " footerItemCount=" + footerItemCount);
          return headerItemCount + contentItemCount + footerItemCount;
      }
docs: {@inheritDoc}