BAZYNGO-522 add try catch for size limit exceed error for query
BAZYNGO-528 remove try catch and add counter