Add an optional branch_name_exclude_prefix parameter to the
snapshot_count_branches method of the Storage interface.
It enables to filter out branches whose name starts with a
given prefix when counting.
The purpose is to get accurate counters in swh-web as pull
request branches will be filtered out by default.
Related to T2782
Depends on D4615
doesn't work if the last byte of the prefix is \xff. You'll need to either implement the carry, or convert to an int