add branch_recent source
pass --count option to git for-each-ref