count assignments