Add count memory size feature in change config for sys161