Calculate the bacon number of a given actor