Write a function which accepts a string argument and returns the count of characters between the first and last character 'X'
Contents
 Claim Course Certificate