validates count