get the 'countdown' parameter as integer
remove the query string from a casted uri