Count selected texts