Text this: Effective dimensionality of space-time in f(R)-general relativity with quantum boundary terms included