Exposing commits count through the API

GitLab could publicly expose the commits count though its API. So packaging scripts could use that for checking for updates, allowing automated packaging.