Of course, you can not only access methods and computed fields in the template.
In this example, the method increment calls another method canIncrement which accesses the computed field ordinalCount.
increment
canIncrement
ordinalCount