--> COUNT --> OF --> rse --> The following COBOL code fragment finds out the number of employees who live in a particular state, specified by the host language variable STATE: ACCEPT STATE. &RDB& GET STATE-COUNT = COUNT OF E IN EMPLOYEES &RDB& WITH E.STATE = STATE &RDB& END_GET DISPLAY "Number of employees in ", STATE, " is ", STATE-COUNT.