- added support for the number of incoming links