I have a list with a lot of items in it I need to know the list item count the following is my code:
var sListId = SP.ListOperation.Selection.getSelectedList(); var oWeb = item_clientContext.get_web(); var oList = oWeb.get_lists().getById(sListId); var count = ???
How can I determine the count of items I have? I tried get_count() but did not work.