select id from content where statusid=1 and siteid=1 and id in(select contentid from content_properties where typeid=5 and propertyid =2094931) order by publisheddate desc limit 0,10;select count(*) totalcount from content where statusid=1 and siteid=1 and id in(select contentid from content_properties where typeid=5 and propertyid =2094931) order by publisheddate desc