passed set dicsount method