returns distance for each filtered activity