Question: how many types of m.2?
Answer: Common lengths for M. 2 drives and mounting right now are 30mm (2230), 42mm (2242), 60mm (2260), 80mm (2280), and 110mm (22110). In addition, there are two types of sockets for M. 2: one with a "B key" and one with a "M key".