Merge "Verify component count is in the legal range." into lmp-dev