tern: log duplicate language version counts

This should help us get a handle on the duplicate language situation.  Are most
duplicate languages empty?  Is there usually one that has lots of versions while
the rest have few?  I don't know.  Let's find out.
Merge remote-tracking branch 'origin/dev' into dev