implement hasSize for Collection and Map subjects