vertices and object count as argument