modified:   src/pp_locate.pro, added counts argument