trying to set up a moon counter

now that the moon appears