new function timed_count_contribs, new params for recentchanges functions

As in title, I haven't filled {{$NEXT}} section in Changes, but I have in mind some more functions (not much, one or two).
Commit comments are fairly legible (or so I hope :).