git-logs: count categories in deploy script

Change-Id: I559a8d3bf37669c6b76e02f63bcf4ff8c5ebaeeb