beautified neighbout counting