For regular counter it will depend on how much time your program spent per scan. If there are complex custom function that communicate with other devices then it may spend longer time than the period of the pulse and you can lose count.
So it is better to either use the HSC (wire to input #5) to count pulses, or define an interrupt input and use interrupt service routine to increment the counter.
If you use an FMD or Nano-10 PLC then an input that is defined as HSC is also simultaneously capture PMON information (i.e. it acts as both HSC and PM). But this is not possible on T100MD PLC.