hide and rename getCountForTesting