Counting, e.g. counting periodical movements, revolutions or cycles, or including further data processing to determine distances or speed