That worked, though testing it showed a slight oversight since I tend to pause at the beginning of chapters. I fixed by subtracting by one.
Code:
program:
input = $#kobobookmark;
a = re(input, '.*\/file(\d+).*', '\1');
if
$#fanficcat
&&
$#currentlyreading
&&
$#kobobookmark
then
strcat(format_number(subtract(a, 1), '{0:,d}'), '/',$$#chaptercount)
fi
Though while this tested ok putting it in the column itself made an error about 'a' being an unknown identifier.