What is the maximum number of blend weights?

What is the maximum number of blend weights per vertex. In various forums I read that 4 or 8 weights are supported, but I could not find anything in the official documentation. Can somebody please give me hint, please?