Database: scholar_total_0
Question: How many papers has David M. Blei published in AISTATS ?
SQL: select distinct count ( t1.paperid ) from venue_paper_writes_author as t1 where t1.authorname = 'david m. blei' and t1.venuename = 'aistats' ;