Implement len() for EnumSet.

This commit adds the missing EnumSet method mentioned by @Gankro.

cc #18424
Conventionally we swap the order of the variable and expected from what you have here. 

`assert_eq!(variable, expected)`