object count endpoint