Added dynamic bird counting