It looks like that you have entered the expression (summary functions like Sum(), count() etc.) in Page Header/Page Footer Section. In that case it will end up in Errors. But you can write expressions like: =[Page] & "/" & [Pages] and it will show the result correctly.
The expression must be...