Added automatic connected lamp count on init