Welcome to LQ!
The switch "-c" stands for count, so you must use a number, i.e.:
bruce@titus:~$ ping -c www.google.com
ping: bad number of packets to transmit.
bruce@titus:~$ ping -c1 www.google.com
PING www.l.google.com (18.104.22.168) 56(84) bytes of data.
64 bytes from 22.214.171.124: icmp_seq=1 ttl=239 time=70.4 ms
--- www.l.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 70.472/70.472/70.472/0.000 ms
The switch "-s" stands for size. In a terminal issue "man ping" and read the options.