Word count client example