implemented to<type>()
implemented count
implemented min and max