fix for overload removing second usage of geteditcountlocal