Added new fct for getting neighborhood num events. Fixes #21.