Construct count matrix from request matrix