count and cache the number of items in the given collection concode_field_sep ItemService itemService concode_elem_sep ItemCountDAO dao concode_elem_sep Context context concode_elem_sep CommunityService communityService concode_elem_sep Logger log concode_field_sep void main concode_elem_sep int getCount concode_elem_sep void remove concode_elem_sep void buildItemCounts
void function ( Collection arg0 ) { try { int loc0 = itemService . countItems ( context , arg0 ) ; dao . collectionCount ( arg0 , loc0 ) ; } catch ( SQLException loc0 ) { log . error ( "srini_string" , loc0 ) ; throw new ItemCountException ( loc0 ) ; } }