Task: Text to Code
Input (English): What is the average access count of documents that have the least common structure?
Output (English): SELECT avg(access_count) FROM documents GROUP BY document_structure_code ORDER BY count(*) ASC LIMIT 1