I used the following code in SharePoint 2010 to get itemCount from a list
itemCount = $(xData.responseXML.xml).find("rs\\:data, data").attr("ItemCount");
But when I use it in SharePoint 2013, its not working. Any work around?
Thanks in advance.