How many times have Arsenal finished above Tottenham in the League?

And indeed come to that how many times have Tottenham finished above Arsenal in the League? There is a bit of an argument about this because quite often the clubs have not been in the same league, and so automatically Arsenal (being in Division 1) have been above Tottenham (Division 2 or the Southern League).  …