Incorrect function used for counting array items in YaPI.

As a consequence bond device couldn't have more than two devices.
Updated changelog.
Merge pull request #54 from mchf/Code-11-SP2

Another simple bug in YaPI