Gets the correct actor count to fix #263.