14/2/2014 version of daily_counts.sql [#65557164]