Added legend header, details, and counts