added function count to doc