Adding import logic for dumps pagecounts

Factoring out useful parts of hive-partitioner

Change-Id: I608d9cd78355c9b2845ed379b1a66975a538dc06
Card: analytics 1195.1