It returns the number of characters in the buffer. Since characters are sent one-at-a-time you can't assume that all characters will have been received by the time you check.
You can add a bit of delay to give more characters time to arrive:
if (Serial.available())
{
delay(100); // Time for about 19 characters to arrive
count = getString(myString);
[...]