Péter Apor — Hungarian count, historian (1676-1752)