Quantifying the complexity of random Boolean networks