Database: scholar
Question: how many papers use dataset called "g"?
SQL: select distinct count ( distinct t3.paperid ) from paperdataset as t2 join dataset as t1 on t2.datasetid  =  t1.datasetid join paper as t3 on t3.paperid  =  t2.paperid where t1.datasetname = "g"