diff --git a/example/ALL_test.cpp b/example/ALL_test.cpp
index 53420877671efd02b0c88ddd0d152da76c45b507..b7fe2741aafa66fc8975bd2c78f327c386b2c82a 100644
--- a/example/ALL_test.cpp
+++ b/example/ALL_test.cpp
@@ -1830,9 +1830,9 @@ int main(int argc, char **argv) {
 #ifdef ALL_VORONOI_ACTIVE
       case ALL::LB_t::VORONOI: {
         // get neighbor information
-        int nNeighbors = lb_obj.getNNeighbors();
         std::vector<double> neighbor_vertices = lb_obj.getNeighborVertices();
         std::vector<int> neighbors = lb_obj.getNeighbors();
+        int nNeighbors = neighbors.size();
 
         // compute voronoi cells
 
diff --git a/include/ALL.hpp b/include/ALL.hpp
index 1debe74c25fc50297238d52f2076d13c3e154e94..9635dfff53840c9266405a8027a4857e92269ed0 100644
--- a/include/ALL.hpp
+++ b/include/ALL.hpp
@@ -434,12 +434,6 @@ public:
   /// @result scalar work or first value of vector work
   W getWork() { return balancer->getWork().at(0); }
 
-  /// method to get the number of neigbors the local domain has
-  /// @result int the number of neighbors the local domain has in total
-  int getNNeighbors() {
-    return balancer->getNeighbors().size();
-  }
-
   /// method to provide a list of the ranks of the neighbors the local domain
   /// has in all directions
   /// @result vector if neighboring ranks