lib/pattern/research-study-explorer/console/statistics/index.sql