Counting integral points on symmetric varieties with applications to arithmetic statistics