Function to get stats on a track