update the 'update counts' hive query (bug 1014752)
Merge pull request #144 from magopian/adi-script-updated-update-counts-query

update the 'update counts' hive query (bug 1014752)