i infer that the service will come into the minimart, and that the dwelling unit will be served via a feeder from the minimart's main panel. If that is correct, then yes, you size the dwelling unit per the rules for dwelling units. Then you used that calculated feeder load as an input to the overall service calculation.