Add NumObjects() to File