If the count is lost, start at one again, don't try to remember the last number, it's not important. Getting to ten should not be a contest or a goal, just count. Any thoughts that arise should be noted but then ignored. Just look at them and then let them go, don't chase them or follow any line of reasoning. Go back to the counting.
All thoughts have the same worth, nothing, when sitting.
Return to the counting. The same goes for any light displays, hallucinations, panic, fear or other illusions. When the thoughts don't run so fast and furious you can drop the counting and just sit. If the thoughts become distracting, count again. Eventually, try to sit in seiza for about 30 minutes early in the morning and again at night.