How often is a random quantum state k-entangled?