Optical sensor for transport band counting