The data obtained from the register with a security guard regarding the number of people present at different times of the day will be classified under secondary data.
The security guard would ask the person to manually enter their details in the register, which includes the entry and the exit time. We just have to verify through these times in order to estimate these numbers. This kind of data will thus be classified under secondary data