Removed complex query from query that retrieves item count.  The limit parameter is not necessary.