counting red factors