Added counting of number of commands send to the drone