added gw_data_stats functions for memo to Vijay
03052013.