Code to count the pixels on an LPD8806 RGB light strip using the Data Out pin on the end of the light strip and the SPI MISO on an Arduino Mega 2560