Missing .length causing the test to fail

Added the .length attribute to fix a failing test in Shadow DOM's
csshostrule-attributes test.
Merge pull request #576 from KenjiBaheux/master

Missing .length causing the test to fail