open fun countItems(callback: () -> Int): Unit
Sets a callback function returning a number of items.
callback - a callback function
callback