count instead of length