Counting script to test uart_comms.vhd