SELECT 
      COUNT(DISTINCT device_id) as did_cnt,
      COUNT(question_id) AS question_cnt
FROM question_practice_detail
WHERE MONTH(date) = 8;